package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.entity.CmsRecoveryMember;
import com.project.pojo.dto.RecoveryMemberDTO;
import com.project.pojo.model.GetAllRecoveryMemberModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CmsRecoveryMemberMapper extends BaseMapper<CmsRecoveryMember> {

    /**
     * 分页查询回收员
     * @param page
     * @param model
     * @return
     */
    IPage<RecoveryMemberDTO> getAllRecoveryMember(Page<RecoveryMemberDTO> page, @Param("model") GetAllRecoveryMemberModel model);

}